<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');
?>

<!-- JavaScript -->
<script type="text/javascript" src="<?= base_url() ?>js/wufoo.js"></script>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="<?= base_url() ?>css/form/form.css" media="screen, tv, projection" title="Default" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>css/datepicker.css" media="screen, tv, projection" title="Default" />
<script type="text/javascript" src="<?= base_url() ?>js/datepicker.js"></script>

<div id="container">
	<?= form_open('','class="wufoo"'); ?>
	<fieldset class="fieldset">
	<legend class="legend">
		Legend |
	</legend>
	
	<div class="info">
		<div>Description</div>
	</div>
	<div>
		<?= anchor(site_url('flexigrid_sample'),img(array('src'=>'images/main/38.png','border'=>'0','alt'=>'')).' Kembali ke Sample Grid','Menampilkan halaman Sample Flexigrid'); ?>
	</div>
 <!-- Konten -------------------------------------------------------------------------->
 <div id="contentform">
	<ul>
		
		<li>
			<label class="desc">ID Kelas Pegawai (Huruf: 1 Digit) *</label>
			<div>
				<input class="field text small" type="text" maxlength="1" size="3" name="id_kelas" value="<? if(set_value('kelas')!='') echo set_value('id_kelas'); else echo 'textfield'?>"/> 
			</div>
			<p class="instruct">
				Masukkan ID Kelas Pegawai Pada Kolom ini.			
			</p>
		</li>
		<?php echo form_error('id_kelas'); ?>
                
                
                <li>
                    <label class="desc">Tanggal Permohonan Sertifikasi*</label>
                    <span>
                        <div id="newline-wrapper">
                            <table class="split-date-wrap" cellpadding="0" cellspacing="0" border="0">
                                    <tbody>
                                            <tr>
                                                    <td>
                                                            <input type="text" class="w2em" id="date-9-dd" readonly name="tgl_permohonan" maxlength="2" value=""/>-<label for="date-9-dd">DD</label>
                                                    </td>
                                                    <td>
                                                            <input type="text" class="w2em" id="date-9-mm"readonly name="bln_permohonan" maxlength="2" value=""/>-<label for="date-9-mm">MM</label>
                                                    </td>
                                                    <td>
                                                            <input type="text" class="w4em highlight-days-67 split-date" readonly id="date-9" name="thn_permohonan" maxlength="4" value=""/><label for="date-9">YYYY</label>
                                                    </td>
                                                    <td> </td>
                                            </tr>
                                    </tbody>
                            </table>
                        </div>
                    </span>
		</li>
                
		<li>
			<label class="desc">Keterangan Kelas Pegawai*</label>
			<div>
				<input class="field text medium" type="text" maxlength="255" name="keterangan" value="<? if(set_value('keterangan')!='') echo set_value('keterangan'); else echo 'form';?>"/> 
			</div>
			<p class="instruct">
				Masukkan Keterangan Kelas Pegawai Pada Kolom ini.			
			</p>
		</li>
		<?php echo form_error('keterangan'); ?>
		<li>
			<label class="desc">Fasilitas Hotel *</label>
			<div>
				<input class="field text large" type="text" maxlength="255" name="fasil_hotel" value="<? if(set_value('fasil_hotel')!='') echo set_value('fasil_hotel'); else echo 'form';?>"/> 
			</div>
			<p class="instruct">
				Masukkan Fasilitas Hotel Pada Kolom ini.			
			</p>
		</li>
		<?php echo form_error('fasil_hotel'); ?>
		<li>
			<label class="desc">Kelas Hotel *</label>
			<div>
				<input class="field text large" type="text" maxlength="255" name="kelas_hotel" value="<? if(set_value('kelas_hotel')!='') echo set_value('kelas_hotel'); else echo 'form';?>"/> 
			</div>
			<p class="instruct">
				Masukkan Kelas Hotel Pada Kolom ini.			
			</p>
		</li>
		<?php echo form_error('kelas_hotel'); ?>

                <li>
                    <label class="desc">Status *</label>
                        <div>
                                <? 
                                $options = array(
                                        1 => 'Aktif',
                                        0 => 'Non Aktif'
                                );
                                echo form_dropdown('status',$options,'','class="field select"');	
                                ?>
                        </div>
                    <p class="instruct">
                            Pilih Status untuk Pegawai Pada Kolom ini.			
                    </p>
                </li>

		<li class="buttons">
		  <input id="saveForm" class="btTxt" type="submit" value="Simpan" />
		  <input name="submit" type="reset" value="Reset" />
		</li>
	</ul>
</div>
</fieldset>
<?= form_close(); ?>
</form>
</div><!--container-->